@media (min-width: 1280px) {
  .container {
    width: 1280px;
  }
}

@media (max-width: 991px) {
  .nav li {
    float: left;
    width: 20%;
  }
  .news{
    margin-top: 10px!important;
  }
}

@media (max-width: 767px) {
  .container .left-box .nav li {
    font-size: 12px;
    padding: 0;
    text-align: center;
  }

  .news li {
    width: 50%!important;
    &:nth-child(1) {
      width: 100%!important;
    }
  }

  .publish h3{
    font-size: 14px!important;
  }
}

ul {
  list-style: none;
  padding: 0;
}

.left-box {
  padding-left: 0;
  .logo {
    background-color: #429ad9;
    img{
      display: block;
      max-width: 100%;
      margin: 0 auto;
    }
    span {
      display: block;
      text-align: center;
      height: 50px;
      line-height: 50px;
      color: #fff;
      font-size: 24px;
    }
  }
  .nav {
    border-bottom: 1px solid #ccc;
    overflow: hidden;
    li {
      height: 50px;
      line-height: 50px;
      padding-left: 30px;
      background-color: #eee;
      &:hover {
        background-color: #fff;
      }
      &::before {
        vertical-align: middle;
        margin-right: 5px;
      }
    }
  }
}

.content-box{
  .news{
    li {
      float: left;
      width: 25%;
      height: 128px;
      padding-right: 10px;
      margin-bottom: 10px;
      a {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
      }
      img {
        width: 100%;
        height: 100%;
      }
      p {
        margin: 0;
        position: absolute;
        box-sizing: border-box;
        left: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, .5);
        color: #fff;
        height: 41px;
        width: 100%;
        line-height: 41px;
        padding-left: 10px;
      }
      &:nth-child(1) {
        padding-right: 10px;
        width: 50%;
        height: 266px;
      }
    }
  }

  .publish{
    border-top: 1px solid #ccc;
    .row{
      padding: 10px 0;
      border-bottom: 1px solid #ccc;
      .col-sm-3{
        padding-top: 10px;
        img {
          width: 100%;
        }
      }
    }
  }
}

.right-box{
  img {
    width: 100%;
  }

  .hot{
    margin: 10px 0;
    padding: 0 10px;
    border:1px solid #ccc;

    span{
      display: block;
      width: 60px;
      height: 35px;
      text-align: center;
      line-height: 35px;
      background-color: #337ab7;
      color: #fff;
    }
    p {
      color: #337ab7;
      font-size: 24px;
    }
  }
}
